{extend name='public/layout' /}
{block name='content'}
<div class="position"><p>您的当前位置：<a href="/">首页</a>  >  <a href="{:url('Huodong/index')}">活动</a>
</p></div>
<div class="div_box">
    <div class="show">
        <div class="show_title">
            <h2>{$info.title}</h2>
            <p>{$info.create_time|date='Y-m-d H:i:s',###} &nbsp;浏览：{$info.hits}</p>
            <p style="padding: 4px;background: orange;color: #ffffff">活动时间:{$info.begin_time|date='Y-m-d',###}至{$info.end_time|date='Y-m-d',###}</p>
        </div>
        <div class="show_body">
            {$info.info}
        </div>

    </div>
</div>

<div class="div_box">
    <h1 class="h1_title"><span class="h1_title_t">猜你喜欢</span><span class="more"><a href="{:url('Huodong/index',['cate_id'=>$info['cate_id']])}">更多 ></a></span></h1>
    <div class="houses_inf">
        <ul>
            {php}$cate_id=$info['cate_id'];{/php}
            {fang:lists table='activity' field='id,title,create_time' where="cate_id=$cate_id and status=1" order='id desc' limit='10' id='vo'}
            <li><a title="{$vo.title}" href="{:url('Huodong/detail',['id'=>$vo['id']])}">{$vo.title}</a></li>
            {/fang:lists}

        </ul>
    </div>
</div>
{/block}